<template>
	<view class="content">
		<view class="head-wrap col">
			<view class="head-image">
				<image src="/static/img/getIntegralResult/round.png" mode="aspectFill"></image>
			</view>
			<view class="uni-icon uni-icon-checkmarkempty head-icon" />
			<view class="head-text">
				提现申请已提交
			</view>
			<view class="head-status">
				待审核
			</view>
		</view>
		<view class="body-wrap">
			<view class="account_row row_between">
				<view class="row_text">
					账户
				</view>
				<view class="row_num">
					{{accountNo}}
				</view>
			</view>
			<view class="amount_row row_between">
				<view class="row_text">
					金额
				</view>
				<view class="row_num">
					{{amountNum}} 积分
				</view>
			</view>
			<view class="botton-group">
				<button class="submit-button" :disabled="btnActive" :loading="isShowLoading" @click="confirm">确认</button>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				accountNo: '',
				amountNum: '',
				btnActive: false,
				isShowLoading: false,
			};
		},
		methods:{
			confirm(){
				uni.navigateBack({
					delta:2
				})
			}
		},
		onLoad(opt) {
			this.accountNo=opt.account;
			this.amountNum=opt.bonus;
		}
	}
</script>

<style lang="scss">
	.content {
		width: 100%;
		height: 100%;
		border-top: 2upx solid #E3E3E3;
		display: flex;
		flex-direction: column;
	}

	.head-wrap {
		width: 100%;
		height: 447upx;

		.head-image {
			position: absolute;
			top: 96upx;
			width: 104upx;
			height: 104upx;
			z-index: -1;

			image {
				width: 104upx;
				height: 104upx;
			}
		}

		.head-icon {
			position: absolute;
			color: #FFFFFF;
			z-index: -1;
			top: 70upx;
			font-size: 150upx;
		}

		.head-text {
			width: 238upx;
			height: 32upx;
			line-height: 1.0;
			color: #333333;
			font-size: 34upx;
			margin-top: 232upx;
			font-family: PingFang SC;
			font-weight: 400;
		}

		.head-status {
			width: 102upx;
			height: 32upx;
			line-height: 1.0;
			color: #333333;
			font-size: 34upx;
			margin-top: 31upx;
			font-family: PingFang SC;
			font-weight: 400;
		}
	}

	.body-wrap {
		height: 320upx;
		margin: 0upx 30upx 0upx 30upx;
		.row_text {
			width:70upx;
			height:32upx;
			font-size:34upx;
			font-family:PingFang SC;
			font-weight:400;
			color:rgba(51,51,51,1);
			line-height:1.0;
		}

		.row_num {
			width:390upx;
			height:32upx;
			font-size:34upx;
			font-family:PingFang SC;
			font-weight:400;
			color:rgba(51,51,51,1);
			line-height:1.0;
			text-align: end;
		}
		.amount_row{
			margin-top: 40upx;
		}
		.botton-group {
			display: flex;
			flex-direction: column;
			margin-top:100upx;
			.submit-button {
				width: 100%;
				height: 88upx;
				background: rgba(173, 133, 252, 1);
				border-radius: 4upx;
				color: #FFFFFF;
				font-size: 34upx;
		
				&:after {
					border: none
				}
			}
		}
	}

	
</style>
